<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>

    <h1>链表</h1>
    <table border="1">
        <tbody>
            <tr>
                <th>方法</th>
                <th>描述</th>
            </tr>
            <tr>
                <td>append(element)</td>
                <td>向链表尾部添加结点element</td>
            </tr>
            <tr>
                <td>all()</td>
                <td>获得所有</td>
            </tr>
            <tr>
                <td>insert(position,element)</td>
                <td>向位置position处插入结点element</td>
            </tr>
            <tr>
                <td>removeAt(position)</td>
                <td>按照索引值position删除结点</td>
            </tr>
            <tr>
                <td>fined(position)</td>
                <td>根据索引值，查找指定节点</td>
            </tr>
            <tr>
                <td>removeEl(element)</td>
                <td>搜索并删除给定结点element</td>
            </tr>
            <tr>
                <td>pop()</td>
                <td>删除链表中最后一个结点</td>
            </tr>
            <tr>
                <td>indexOf(element)</td>
                <td>查找并返回给定结点element的索引值</td>
            </tr>
            <tr>
                <td>isEmpty()</td>
                <td>判断链表是否为空</td>
            </tr>
            <tr>
                <td>size()</td>
                <td>获取链表长度</td>
            </tr>
            <tr>
                <td>toString()</td>
                <td>转换为字符串输出</td>
            </tr>
            <tr>
                <td>header()</td>
                <td>获取头结点</td>
            </tr>
            <tr>
                <td>end()</td>
                <td>获取尾结点</td>
            </tr>
        </tbody>
    </table>

    <script src="linked.js"></script>
</body>

</html>